import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

//全局注册组件
import Test from '../components/test'
Vue.use(Test)

//全局指令
import focus from '../components/diretive'
Vue.use(focus)

//tooltip
import VTooltip from 'v-tooltip'
Vue.use(VTooltip)

//topMessage
import topMessage from '../components/topMessage/topMessage.js'
Vue.use(topMessage)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
